<div align="center">  
<?php
   $arg=func_get_arg(0);
   $value=$arg['value'];
?>
   <table summary="" border='1' width="80%">
      <tr><td width="150">index:</td><td><?php echo $value['index']?></td></tr>
      <tr><td width="150">title:</td><td><?php echo $value['title']?></td></tr>
      <tr><td width="150">name:</td><td><?php echo "{$value['name']}({$value['mail']})({$value['url']})"?></td></tr>
      <tr><td width="150">body:</td><td><?php echo $value['body']?></td></tr>
      <tr><td width="150">time:</td><td><?php echo $value['time']?></td></tr>
      <tr><td width="150">ip:</td><td><?php echo $value['ip']?></td></tr>
      <tr>
        <td>
			response:
			<a href="./addMessageResponse.html?i=<?php echo $value['index'];?>">addresponse</a>
			<?php
				if(isset($_SESSION['user'])&&$_SESSION['user'] instanceof Admin)
				{
					echo "<a href=\"./deleteMessage.html?i={$value['index']}\">deleteMessage</a>";
				}
			?>
		</td>
        <td>
        <?php
               foreach($arg['ResponseMessage'] as $k=>$v)
               {
                  new ResponseMessageBox($v); 
               }            
            ?>
        
        </td>
    </tr>
   </table>                     
</div>        
